extends "../jiasikenie-1/jiasikenie-1.gd"


func _extInit():
	._extInit()
	lv = 2             #等级的设置
	addSkill("<先手>每{cd}秒赋予全体敌人3层<干扰>", "干扰协议", "jiasikenie2", 6)
var p2 = 3
func _castCdSkill(id):
	._castCdSkill(id)
	if id == "jiasikenie2":
		jiasikenie2()

func _onBattleStart():
	._onBattleStart()
	jiasikenie2()

func jiasikenie2():
	for i in getAllChas(1):
		castBuff(i, buff.b_ganRao.new(p2))